<?php
	require_once("inc/keyword_model.php");
	$results = Get_Keywords();
		
?>
<!DOCTYPE html>
<html lang="en">
<head>
		<meta charset="utf-8" />
		<title>Database Interaction</title>
		<meta name="description" content="" />
		<link href="inc/css/bootstrap.css" rel="stylesheet" type="text/css">
</head>

	<body>
    	<table class="table table-striped">
        <thead>
        	<tr>
            	<th>I.D.</th>
                <th>Created At</th>
                <th>Updated At</th>
                <th>Name</th>
            </tr>
        </thead>
		<? while($rs = $results->fetch_assoc()) : ?>
        <tr>
        	<td><?=$rs['id']?></td>
            <td><?=$rs['created_at']?></td>
            <td><?=$rs['updated_at']?></td>
            <td><?=$rs['Name']?></td>
        </tr>
        <? endwhile; ?>
        </table>
	</body>
</html>
